﻿using System;
using System.Collections.Generic;
using System.Text;

namespace Pixysoft.Framework.Configurations
{
    public interface IHtmlRow
    {
        /// <summary>
        /// 父节点编号
        /// </summary>
        string ParentPath { get;}

        /// <summary>
        /// 嵌套层数
        /// </summary>
        int NestLevel { get;}

        /// <summary>
        /// 表编号
        /// </summary>
        int TableIndex { get;}

        /// <summary>
        /// 行编号
        /// </summary>
        int RowIndex { get;}

        /// <summary>
        /// 行内容
        /// </summary>
        string Content { get;}

        /// <summary>
        /// html节点
        /// </summary>
        IHtmlNode HtmlNode { get;}

        /// <summary>
        /// 单元格内容
        /// </summary>
        IHtmlCell[] Cells { get;}

        /// <summary>
        /// 序列化为布局
        /// </summary>
        /// <returns></returns>
        string Serialize();
    }
}
